package com.djq.hhc.model.credit;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.djq.hhc.model.base.BaseEntity;
import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: dadd7
 * @Date: 2023/03/05/下午 4:15
 * @Description:
 */

@Data
@TableName("credit_exchange")
public class CreditExchange extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableField("order_id")
    private Long orderId;

    @TableField("user_id")
    private Long userId;

    @TableField("pre_credit")
    private Integer preCredit;

    @TableField("now_credit")
    private Integer nowCredit;
}
